Component({
  /**
   * 组件的属性列表
   */
  properties: {
    title: {
      type: String,
      value: ''
    },
    shezhi: {
      type: Boolean,
      value: false
    },
    qingkong: {
      type: Boolean,
      value: false
    },
    fengxiang: {
      type: Boolean,
      value: false
    },
    guanli: {
      type: Boolean,
      value: false
    },
    m: {
      type: Number,
      value: 4
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    top: 0,
  },
  lifetimes: {
    ready: function () {
      wx.getSystemInfo({
        success: (res) => {
          this.setData({
            top: res.safeArea.top
          })
        }
      })
    },
  },
  /**
   * 组件的方法列表
   */
  methods: {

  }
})
